package com.jacen.fzxs.entity;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 用户实体类
 * @author Jacen
 *
 */
@Table(name = "t_user")
public class UserEntity extends BaseEntity {
	
	@Column(name="username")
	private String userName;
	@Column(name="showName")
	private String showName;
	private String password;
	private Integer status;
	@Column(name="sys_default")
	private Integer sysDefault;
	
	public static final class UserStatus{
		public static final int VALID	= 0;
		public static final int INVALID = 1;
	}
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getShowName() {
		return showName;
	}

	public void setShowName(String showName) {
		this.showName = showName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getSysDefault() {
		return sysDefault;
	}

	public void setSysDefault(Integer sysDefault) {
		this.sysDefault = sysDefault;
	}
	
}
